package com.shop.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;

/**
 * @author 'banxia'
 * @version 1.0
 * @description TODO
 * @date 2023/2/21 17:05
 */
//@Configuration
//@EnableTransactionManagement
//@MapperScan("com.shop")
public class MyBatisPlusConfig {

    //分页插件
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }

}
